home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3frende.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  11.9 KB  |  387 lines

  1.  
  2. // JavaScript wrapper for r3frende.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_R3FRENDE_H = 1;
  7. include("oops/r3model.js")
  8.  
  9.  
  10. var R3CLID_FILERENDERMODEL = 245;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Add new output. The parameter 'p3' should refer to name of an existing output
  16. //      object.
  17. // Returns: Boolean, true if succeeded
  18. // p1: String, output file name
  19. // p3: String, the name of the output object to be added.    
  20.  
  21. R3FIREM_ADDOUTPUT = 245000;
  22.  
  23. function mR3FIREM_ADDOUTPUT(p1, p3) {
  24.   return   DoA2(this.r3obj, 245000, p1, R3TID_STRING, 0, p3, R3TID_STRING, 0);
  25. }
  26.  
  27. // Description: Remove output from the project.
  28. // Returns: Boolean, true if object object was found.
  29. // p1: String, output file name
  30. // p3: String, name of the output object to be removed.    
  31.  
  32. R3FIREM_REMOVEOUTPUT = 245001;
  33.  
  34. function mR3FIREM_REMOVEOUTPUT(p1, p3) {
  35.   return   DoA2(this.r3obj, 245001, p1, R3TID_STRING, 0, p3, R3TID_STRING, 0);
  36. }
  37.  
  38. // Description: Clear all outputs.
  39.  
  40. R3FIREM_REMOVEALLOUTPUTS = 245002;
  41.  
  42. function mR3FIREM_REMOVEALLOUTPUTS() {
  43.   DoA(this.r3obj, 245002, 0, R3TID_INTEGER, 0);
  44. }
  45.  
  46. // Description: Update filenames for output objects
  47. // p1: String, new filename
  48. // p2: String, if given touch only outputs with this name.
  49. // p3: String, if given, touch only outputs associated with this output object    
  50.  
  51. R3FIREM_UPDATEOUTPUTFILENAME = 245003;
  52.  
  53. function mR3FIREM_UPDATEOUTPUTFILENAME(p1, p2, p3) {
  54.   DoA3(this.r3obj, 245003, p1, R3TID_STRING, 0, p2, R3TID_STRING, 0, p3, R3TID_STRING, 0);
  55. }
  56.  
  57.  
  58.  
  59.  
  60. R3FIREA_Outputs = 245500;
  61. function GetR3FIREA_Outputs() {
  62.   return R3Get(this.r3obj, R3FIREA_Outputs, R3TID_LIST, R3TNF_ARRAY); 
  63. }
  64.  
  65. R3FIREA_Width = 245501;
  66. function SetR3FIREA_Width(value) {
  67.   R3Set(this.r3obj, R3FIREA_Width, value, R3TID_INTEGER, 0); 
  68. }
  69.  
  70. function GetR3FIREA_Width() {
  71.   return R3Get(this.r3obj, R3FIREA_Width, R3TID_INTEGER, 0); 
  72. }
  73.  
  74. R3FIREA_Height = 245502;
  75. function SetR3FIREA_Height(value) {
  76.   R3Set(this.r3obj, R3FIREA_Height, value, R3TID_INTEGER, 0); 
  77. }
  78.  
  79. function GetR3FIREA_Height() {
  80.   return R3Get(this.r3obj, R3FIREA_Height, R3TID_INTEGER, 0); 
  81. }
  82.  
  83. R3FIREA_BoxX = 245503;
  84. function SetR3FIREA_BoxX(value) {
  85.   R3Set(this.r3obj, R3FIREA_BoxX, value, R3TID_INTEGER, 0); 
  86. }
  87.  
  88. function GetR3FIREA_BoxX() {
  89.   return R3Get(this.r3obj, R3FIREA_BoxX, R3TID_INTEGER, 0); 
  90. }
  91.  
  92. R3FIREA_BoxY = 245504;
  93. function SetR3FIREA_BoxY(value) {
  94.   R3Set(this.r3obj, R3FIREA_BoxY, value, R3TID_INTEGER, 0); 
  95. }
  96.  
  97. function GetR3FIREA_BoxY() {
  98.   return R3Get(this.r3obj, R3FIREA_BoxY, R3TID_INTEGER, 0); 
  99. }
  100.  
  101. R3FIREA_BoxW = 245505;
  102. function SetR3FIREA_BoxW(value) {
  103.   R3Set(this.r3obj, R3FIREA_BoxW, value, R3TID_INTEGER, 0); 
  104. }
  105.  
  106. function GetR3FIREA_BoxW() {
  107.   return R3Get(this.r3obj, R3FIREA_BoxW, R3TID_INTEGER, 0); 
  108. }
  109.  
  110. R3FIREA_BoxH = 245506;
  111. function SetR3FIREA_BoxH(value) {
  112.   R3Set(this.r3obj, R3FIREA_BoxH, value, R3TID_INTEGER, 0); 
  113. }
  114.  
  115. function GetR3FIREA_BoxH() {
  116.   return R3Get(this.r3obj, R3FIREA_BoxH, R3TID_INTEGER, 0); 
  117. }
  118.  
  119. R3FIREA_FileName = 245507;
  120. function SetR3FIREA_FileName(value) {
  121.   R3Set(this.r3obj, R3FIREA_FileName, value, R3TID_STRING, 0); 
  122. }
  123.  
  124. function GetR3FIREA_FileName() {
  125.   return R3Get(this.r3obj, R3FIREA_FileName, R3TID_STRING, 0); 
  126. }
  127.  
  128. R3FIREA_FileNumberingFormat = 245508;
  129. function SetR3FIREA_FileNumberingFormat(value) {
  130.   R3Set(this.r3obj, R3FIREA_FileNumberingFormat, value, R3TID_STRING, 0); 
  131. }
  132.  
  133. function GetR3FIREA_FileNumberingFormat() {
  134.   return R3Get(this.r3obj, R3FIREA_FileNumberingFormat, R3TID_STRING, 0); 
  135. }
  136.  
  137. R3FIREA_EffectName = 245509;
  138. function SetR3FIREA_EffectName(value) {
  139.   R3Set(this.r3obj, R3FIREA_EffectName, value, R3TID_STRING, 0); 
  140. }
  141.  
  142. function GetR3FIREA_EffectName() {
  143.   return R3Get(this.r3obj, R3FIREA_EffectName, R3TID_STRING, 0); 
  144. }
  145.  
  146. R3FIREA_RenderSettingName = 245510;
  147. function SetR3FIREA_RenderSettingName(value) {
  148.   R3Set(this.r3obj, R3FIREA_RenderSettingName, value, R3TID_STRING, 0); 
  149. }
  150.  
  151. function GetR3FIREA_RenderSettingName() {
  152.   return R3Get(this.r3obj, R3FIREA_RenderSettingName, R3TID_STRING, 0); 
  153. }
  154.  
  155. R3FIREA_BeginAnimationComman = 245511;
  156. function SetR3FIREA_BeginAnimationComman(value) {
  157.   R3Set(this.r3obj, R3FIREA_BeginAnimationComman, value, R3TID_STRING, 0); 
  158. }
  159.  
  160. function GetR3FIREA_BeginAnimationComman() {
  161.   return R3Get(this.r3obj, R3FIREA_BeginAnimationComman, R3TID_STRING, 0); 
  162. }
  163.  
  164. R3FIREA_EndAnimationCommand = 245512;
  165. function SetR3FIREA_EndAnimationCommand(value) {
  166.   R3Set(this.r3obj, R3FIREA_EndAnimationCommand, value, R3TID_STRING, 0); 
  167. }
  168.  
  169. function GetR3FIREA_EndAnimationCommand() {
  170.   return R3Get(this.r3obj, R3FIREA_EndAnimationCommand, R3TID_STRING, 0); 
  171. }
  172.  
  173. R3FIREA_BeginFrameCommand = 245513;
  174. function SetR3FIREA_BeginFrameCommand(value) {
  175.   R3Set(this.r3obj, R3FIREA_BeginFrameCommand, value, R3TID_STRING, 0); 
  176. }
  177.  
  178. function GetR3FIREA_BeginFrameCommand() {
  179.   return R3Get(this.r3obj, R3FIREA_BeginFrameCommand, R3TID_STRING, 0); 
  180. }
  181.  
  182. R3FIREA_EndFrameCommand = 245514;
  183. function SetR3FIREA_EndFrameCommand(value) {
  184.   R3Set(this.r3obj, R3FIREA_EndFrameCommand, value, R3TID_STRING, 0); 
  185. }
  186.  
  187. function GetR3FIREA_EndFrameCommand() {
  188.   return R3Get(this.r3obj, R3FIREA_EndFrameCommand, R3TID_STRING, 0); 
  189. }
  190.  
  191. R3FIREA_BeginAnimationClid = 245515;
  192. function SetR3FIREA_BeginAnimationClid(value) {
  193.   R3Set(this.r3obj, R3FIREA_BeginAnimationClid, value, R3TID_INTEGER, 0); 
  194. }
  195.  
  196. function GetR3FIREA_BeginAnimationClid() {
  197.   return R3Get(this.r3obj, R3FIREA_BeginAnimationClid, R3TID_INTEGER, 0); 
  198. }
  199.  
  200. R3FIREA_EndAnimationClid = 245516;
  201. function SetR3FIREA_EndAnimationClid(value) {
  202.   R3Set(this.r3obj, R3FIREA_EndAnimationClid, value, R3TID_INTEGER, 0); 
  203. }
  204.  
  205. function GetR3FIREA_EndAnimationClid() {
  206.   return R3Get(this.r3obj, R3FIREA_EndAnimationClid, R3TID_INTEGER, 0); 
  207. }
  208.  
  209. R3FIREA_BeginFrameClid = 245517;
  210. function SetR3FIREA_BeginFrameClid(value) {
  211.   R3Set(this.r3obj, R3FIREA_BeginFrameClid, value, R3TID_INTEGER, 0); 
  212. }
  213.  
  214. function GetR3FIREA_BeginFrameClid() {
  215.   return R3Get(this.r3obj, R3FIREA_BeginFrameClid, R3TID_INTEGER, 0); 
  216. }
  217.  
  218. R3FIREA_EndFrameClid = 245518;
  219. function SetR3FIREA_EndFrameClid(value) {
  220.   R3Set(this.r3obj, R3FIREA_EndFrameClid, value, R3TID_INTEGER, 0); 
  221. }
  222.  
  223. function GetR3FIREA_EndFrameClid() {
  224.   return R3Get(this.r3obj, R3FIREA_EndFrameClid, R3TID_INTEGER, 0); 
  225. }
  226.  
  227. R3FIREA_BaseIndex = 245519;
  228. function SetR3FIREA_BaseIndex(value) {
  229.   R3Set(this.r3obj, R3FIREA_BaseIndex, value, R3TID_INTEGER, 0); 
  230. }
  231.  
  232. function GetR3FIREA_BaseIndex() {
  233.   return R3Get(this.r3obj, R3FIREA_BaseIndex, R3TID_INTEGER, 0); 
  234. }
  235.  
  236. R3FIREA_RenderBoxActive = 245520;
  237. function SetR3FIREA_RenderBoxActive(value) {
  238.   R3Set(this.r3obj, R3FIREA_RenderBoxActive, value, R3TID_BOOLEAN, 0); 
  239. }
  240.  
  241. function GetR3FIREA_RenderBoxActive() {
  242.   return R3Get(this.r3obj, R3FIREA_RenderBoxActive, R3TID_BOOLEAN, 0); 
  243. }
  244.  
  245. R3FIREA_FormatType = 245521;
  246. function SetR3FIREA_FormatType(value) {
  247.   R3Set(this.r3obj, R3FIREA_FormatType, value, R3TID_INTEGER, 0); 
  248. }
  249.  
  250. function GetR3FIREA_FormatType() {
  251.   return R3Get(this.r3obj, R3FIREA_FormatType, R3TID_INTEGER, 0); 
  252. }
  253.  
  254. R3FIREA_State = 245522;
  255. function SetR3FIREA_State(value) {
  256.   R3Set(this.r3obj, R3FIREA_State, value, R3TID_INTEGER, 0); 
  257. }
  258.  
  259. function GetR3FIREA_State() {
  260.   return R3Get(this.r3obj, R3FIREA_State, R3TID_INTEGER, 0); 
  261. }
  262.  
  263. R3FIREA_AspectLocked = 245523;
  264. function SetR3FIREA_AspectLocked(value) {
  265.   R3Set(this.r3obj, R3FIREA_AspectLocked, value, R3TID_BOOLEAN, 0); 
  266. }
  267.  
  268. function GetR3FIREA_AspectLocked() {
  269.   return R3Get(this.r3obj, R3FIREA_AspectLocked, R3TID_BOOLEAN, 0); 
  270. }
  271.  
  272. R3FIREA_ImageEffectName = 245526;
  273. function SetR3FIREA_ImageEffectName(value) {
  274.   R3Set(this.r3obj, R3FIREA_ImageEffectName, value, R3TID_STRING, 0); 
  275. }
  276.  
  277. function GetR3FIREA_ImageEffectName() {
  278.   return R3Get(this.r3obj, R3FIREA_ImageEffectName, R3TID_STRING, 0); 
  279. }
  280.  
  281. R3FIREA_FieldEffectName = 245527;
  282. function SetR3FIREA_FieldEffectName(value) {
  283.   R3Set(this.r3obj, R3FIREA_FieldEffectName, value, R3TID_STRING, 0); 
  284. }
  285.  
  286. function GetR3FIREA_FieldEffectName() {
  287.   return R3Get(this.r3obj, R3FIREA_FieldEffectName, R3TID_STRING, 0); 
  288. }
  289.  
  290. R3FIREA_FrameEffectName = 245528;
  291. function SetR3FIREA_FrameEffectName(value) {
  292.   R3Set(this.r3obj, R3FIREA_FrameEffectName, value, R3TID_STRING, 0); 
  293. }
  294.  
  295. function GetR3FIREA_FrameEffectName() {
  296.   return R3Get(this.r3obj, R3FIREA_FrameEffectName, R3TID_STRING, 0); 
  297. }
  298.  
  299. R3FIREA_RenderAction = 245529;
  300. function SetR3FIREA_RenderAction(value) {
  301.   R3Set(this.r3obj, R3FIREA_RenderAction, value, R3TID_INTEGER, 0); 
  302. }
  303.  
  304. function GetR3FIREA_RenderAction() {
  305.   return R3Get(this.r3obj, R3FIREA_RenderAction, R3TID_INTEGER, 0); 
  306. }
  307.  
  308. var R3FRFORMATTYPE_DEFAULT = 0;
  309. var R3FRFORMATTYPE_CUSTOM = 1;
  310. var R3FRSF_IMAGE = 1;
  311. var R3FRSF_ANIMATION = 2;
  312. var R3FIRE_RENDER = 0;
  313. var R3FIRE_RENDERWITHBACKUP = 1;
  314. var R3FIRE_POSTPROCESS = 2;
  315.  
  316.  
  317. function r3Filerendermodel () { 
  318.    this.base = r3God;
  319.    if(arguments.length) {
  320.       this.base(R3CLID_FILERENDERMODEL, arguments);
  321.    }
  322.    // Methods
  323.    this.ADDOUTPUT=mR3FIREM_ADDOUTPUT;
  324.    this.REMOVEOUTPUT=mR3FIREM_REMOVEOUTPUT;
  325.    this.REMOVEALLOUTPUTS=mR3FIREM_REMOVEALLOUTPUTS;
  326.    this.UPDATEOUTPUTFILENAME=mR3FIREM_UPDATEOUTPUTFILENAME;
  327.  
  328.    // Attributes
  329.    this.GetOutputs=GetR3FIREA_Outputs;
  330.    this.GetWidth=GetR3FIREA_Width;
  331.    this.SetWidth=SetR3FIREA_Width;
  332.    this.GetHeight=GetR3FIREA_Height;
  333.    this.SetHeight=SetR3FIREA_Height;
  334.    this.GetBoxX=GetR3FIREA_BoxX;
  335.    this.SetBoxX=SetR3FIREA_BoxX;
  336.    this.GetBoxY=GetR3FIREA_BoxY;
  337.    this.SetBoxY=SetR3FIREA_BoxY;
  338.    this.GetBoxW=GetR3FIREA_BoxW;
  339.    this.SetBoxW=SetR3FIREA_BoxW;
  340.    this.GetBoxH=GetR3FIREA_BoxH;
  341.    this.SetBoxH=SetR3FIREA_BoxH;
  342.    this.GetFileName=GetR3FIREA_FileName;
  343.    this.SetFileName=SetR3FIREA_FileName;
  344.    this.GetFileNumberingFormat=GetR3FIREA_FileNumberingFormat;
  345.    this.SetFileNumberingFormat=SetR3FIREA_FileNumberingFormat;
  346.    this.GetEffectName=GetR3FIREA_EffectName;
  347.    this.SetEffectName=SetR3FIREA_EffectName;
  348.    this.GetRenderSettingName=GetR3FIREA_RenderSettingName;
  349.    this.SetRenderSettingName=SetR3FIREA_RenderSettingName;
  350.    this.GetBeginAnimationComman=GetR3FIREA_BeginAnimationComman;
  351.    this.SetBeginAnimationComman=SetR3FIREA_BeginAnimationComman;
  352.    this.GetEndAnimationCommand=GetR3FIREA_EndAnimationCommand;
  353.    this.SetEndAnimationCommand=SetR3FIREA_EndAnimationCommand;
  354.    this.GetBeginFrameCommand=GetR3FIREA_BeginFrameCommand;
  355.    this.SetBeginFrameCommand=SetR3FIREA_BeginFrameCommand;
  356.    this.GetEndFrameCommand=GetR3FIREA_EndFrameCommand;
  357.    this.SetEndFrameCommand=SetR3FIREA_EndFrameCommand;
  358.    this.GetBeginAnimationClid=GetR3FIREA_BeginAnimationClid;
  359.    this.SetBeginAnimationClid=SetR3FIREA_BeginAnimationClid;
  360.    this.GetEndAnimationClid=GetR3FIREA_EndAnimationClid;
  361.    this.SetEndAnimationClid=SetR3FIREA_EndAnimationClid;
  362.    this.GetBeginFrameClid=GetR3FIREA_BeginFrameClid;
  363.    this.SetBeginFrameClid=SetR3FIREA_BeginFrameClid;
  364.    this.GetEndFrameClid=GetR3FIREA_EndFrameClid;
  365.    this.SetEndFrameClid=SetR3FIREA_EndFrameClid;
  366.    this.GetBaseIndex=GetR3FIREA_BaseIndex;
  367.    this.SetBaseIndex=SetR3FIREA_BaseIndex;
  368.    this.GetRenderBoxActive=GetR3FIREA_RenderBoxActive;
  369.    this.SetRenderBoxActive=SetR3FIREA_RenderBoxActive;
  370.    this.GetFormatType=GetR3FIREA_FormatType;
  371.    this.SetFormatType=SetR3FIREA_FormatType;
  372.    this.GetState=GetR3FIREA_State;
  373.    this.SetState=SetR3FIREA_State;
  374.    this.GetAspectLocked=GetR3FIREA_AspectLocked;
  375.    this.SetAspectLocked=SetR3FIREA_AspectLocked;
  376.    this.GetImageEffectName=GetR3FIREA_ImageEffectName;
  377.    this.SetImageEffectName=SetR3FIREA_ImageEffectName;
  378.    this.GetFieldEffectName=GetR3FIREA_FieldEffectName;
  379.    this.SetFieldEffectName=SetR3FIREA_FieldEffectName;
  380.    this.GetFrameEffectName=GetR3FIREA_FrameEffectName;
  381.    this.SetFrameEffectName=SetR3FIREA_FrameEffectName;
  382.    this.GetRenderAction=GetR3FIREA_RenderAction;
  383.    this.SetRenderAction=SetR3FIREA_RenderAction;
  384. }
  385.  
  386. r3Filerendermodel.prototype=new r3Model;
  387. // r3frende.h_H